package com.itcg.library.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Books {
    private Integer id;
    private String title;//书名
    private String author;//作者
    private String publisher;//出版社
    private LocalDate publishDate;//出版日期  格式: 2015-06-08
    private String category;//分类
    private Double price;//价格
    private Integer pageCount;//页数
    private String description;//图书描述
}